package com.atguigu.eduorder.feign;

import com.atguigu.common.ordervo.CourseOrderWebVo;
import com.atguigu.common.ordervo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author panghl
 * @Date 2021/2/21 13:05
 * @Version 1.0
 * @Description 服务调用
 **/
@Component
@FeignClient("service-edu")
public interface EduClient {

    @PostMapping(value = "/eduservice/coursefront/getCourseInfoOrder/{id}")
    public CourseOrderWebVo getCourseInfoOrder(@PathVariable("id") String id);

}